home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
program
/
appcnc10.lha
/
AppIconClass10
/
Doc
/
AppIconClass.doc
next >
Wrap
Text File
|
1995-07-31
|
3KB
|
131 lines
File: AppIconClass.Doc
Description: AppIconClass documentation.
Copyright: (C) Copyright 1995 Doguet Emmanuel.
All Rights Reserved.
------------------------------------------------------------------------------
TABLE OF CONTENTS
AppIconClass/--background--
AppIconClass/Methods
AppIconClass/Attributes
AppIconClass/--background-- AppIconClass/--background--
NAME
Class: AppIconClass
Superclass:
Include File "AppIconClass.h"
FUNCTION
To provide you with a very easy way to implement some AppIcon and
AppMenuItem in your programs.
The class will install for you an AppIcon or AppMenu and return you
the struct AppMessage. You can install many AppIcon and AppMenuItem
on only ONE message-port ! Only one Signal to wait for many AppIcon
and/or AppMenuItem.
Is the AppIconClass.h there were too some small macro for use in the handler (see example).
Also you program must open the following libraries:
icon.library - V37 or better.
workbench.library - V37 or better
utility.library - V37 or better.
The source of this class is based on some sources of Jan Van Den
Baard, the creator of the famous library: the bgui.library !!!!!
AppIconClass/Methods AppIconClass/Methods
NEW_METHODS
GM_HANDLEINPUT -- For receive the struct AppMessage
OM_NEW
OM_DISPOSE
OM_GET
CHANGED METHODS
None.
AppIconClass/Attributes AppIconClass/Attributes
NAME
AIC_AppName -- (STRPTR)
FUNCTION
Name of AppIcon or AppItem.
NAME
AIC_ErrorCode -- (ULONG *)
FUNCTION
Return an Error code if there were some problems
Default is NULL - Applicability is (S)
NAME
AIC_IconFileName -- (STRPTR)
FUNCTION
Used for get the diskobject of a icon for apply it to the AppIcon.
It must contain the name of the icon without the '.info'.
If NULL, it use the DefObject (WBTOOL).
Default is NULL - Applicability is (S)
NAME
AIC_AppIconMask -- (ULONG *)
FUNCTION
For get the signal mask of AppIcons/AppMenus.
Applicability is (G)
NAME
AIC_AppMenuItem -- (BOOL)
FUNCTION
If TRUE, tell that you want an AppMenuItem instead of an AppIcon.
Default is FALSE. Applicability is (S)
NAME
AIC_AppIconX -- (LONG)
FUNCTION
The horizontal position of the AppIcon. (If the place is FREE).
Default is 0. Applicability is (S)
NAME
AIC_AppIconY -- (LONG)
FUNCTION
The vertical position of the AppIcon. (If the place is FREE).
Default is 0. Applicability is (S)